package com.bowen.chapter08;

import java.util.ArrayList;
import java.util.List;

public class Salesman {

    /**
     * 用户ID
     */
    private int id;

    /**
     * 用户名称
     */
    private String name;

    /**
     * 用户性别
     * 0:中 1:女 2:男
     */
    private short genderCode;

    /**
     * 用户所在省会
     */
    private String province;

    /**
     * 销售人员每月销售额度
     */
    private List<Double> monthlySales = new ArrayList();


    /**
     * 所有月总消耗
     *
     * @return
     */
    public double totalMonthlyCost() {
        return 0;
    }


    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public short getGenderCode() {
        return genderCode;
    }

    public void setGenderCode(short genderCode) {
        this.genderCode = genderCode;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public List<Double> getMonthlySales() {
        return monthlySales;
    }

    public void setMonthlySales(List<Double> monthlySales) {
        this.monthlySales = monthlySales;
    }
}
